package com.moyq5.permit.center.web.form;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.moyq5.permit.center.bean.entity.SysPermit;
import com.moyq5.permit.center.bean.enums.SysPlatform;
import com.moyq5.permit.center.web.jackson.converter.EmptyConvert;

/**
 * @author Moyq5's MvcMaker Tools
 */
@SuppressWarnings("serial")
@JsonAutoDetect(fieldVisibility = Visibility.NONE, setterVisibility = Visibility.NONE, getterVisibility = Visibility.NONE)
public class SysPermitForm4Update extends SysPermit {

	@NotNull
	@JsonSerialize
	@Override
	public Long getPermitId() {
		return super.getPermitId();
	}

	@JsonDeserialize
	@Override
	public void setPermitId(Long permitId) {
		super.setPermitId(permitId);
	}

	@JsonSerialize
	@Override
	public SysPermit getParent() {
		return super.getParent();
	}

	@JsonDeserialize
	@Override
	public void setParent(SysPermit parent) {
		super.setParent(parent);
	}

	@NotNull
	@JsonSerialize
	@Override
	public Integer getLevel() {
		return super.getLevel();
	}

	@JsonDeserialize
	@Override
	public void setLevel(Integer level) {
		super.setLevel(level);
	}

	@NotBlank
	@JsonSerialize
	@Override
	public String getName() {
		return super.getName();
	}

	@JsonDeserialize
	@Override
	public void setName(String name) {
		super.setName(name);
	}

	@NotNull
	@JsonSerialize
	@Override
	public SysPlatform getPlatform() {
		return super.getPlatform();
	}

	@JsonDeserialize
	@Override
	public void setPlatform(SysPlatform platform) {
		super.setPlatform(platform);
	}

	@JsonSerialize(converter = EmptyConvert.class)
	@Override
	public String getPermit() {
		return super.getPermit();
	}

	@JsonDeserialize
	@Override
	public void setPermit(String permit) {
		super.setPermit(permit);
	}

	@JsonSerialize(converter = EmptyConvert.class)
	@Override
	public String getPath() {
		return super.getPath();
	}

	@JsonDeserialize
	@Override
	public void setPath(String path) {
		super.setPath(path);
	}

	@JsonSerialize
	@Override
	public Boolean getIsMenu() {
		return super.getIsMenu();
	}

	@JsonDeserialize
	@Override
	public void setIsMenu(Boolean isMenu) {
		super.setIsMenu(isMenu);
	}

	@JsonSerialize(converter = EmptyConvert.class)
	@Override
	public String getIcon() {
		return super.getIcon();
	}

	@JsonDeserialize
	@Override
	public void setIcon(String icon) {
		super.setIcon(icon);
	}

	@JsonSerialize
	@Override
	public Integer getSort() {
		return super.getSort();
	}

	@JsonDeserialize
	@Override
	public void setSort(Integer sort) {
		super.setSort(sort);
	}

	@JsonSerialize(converter = EmptyConvert.class)
	@Override
	public String getAuth() {
		return super.getAuth();
	}

	@JsonDeserialize
	@Override
	public void setAuth(String auth) {
		super.setAuth(auth);
	}

	@JsonSerialize(converter = EmptyConvert.class)
	@Override
	public String getTag() {
		return super.getTag();
	}

	@JsonDeserialize
	@Override
	public void setTag(String tag) {
		super.setTag(tag);
	}
	
}
